* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #eaf2fb;
  color: #0a1a3a;
  padding-top: 5rem;
}
.settings-icon {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 1.3rem;
  color: #0A2C59;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 10;
}
.settings-icon:hover { color: #FED600; }

.settings-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(10,44,89,0.08);
  align-items: center;
  justify-content: center;
}
.settings-modal.active { display: flex; }

.settings-modal-content {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(10,44,89,0.12);
  padding: 28px 24px 18px 24px;
  min-width: 220px;
  max-width: 98vw;
  position: relative;
}

.close-settings {
  position: absolute;
  top: 5px; right: 10px;
  font-size: 1.5rem;
  color: #0A2C59;
  cursor: pointer;
}

.settings-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}
.settings-tab {
  flex: 1;
  padding: 8px 0;
  background: #f8faff;
  border: none;
  border-radius: 8px 8px 0 0;
  font-weight: 600;
  color: #0A2C59;
  cursor: pointer;
  transition: background 0.18s;
}
.settings-tab.active {
  background: #0A2C59;
  color: #fff;
}

.settings-tab-content {
  margin-top: 0;
}
.settings-tab-content label {
  display: block;
  margin-bottom: 4px;
  font-weight: 500;
  color: #0A2C59;
}
.settings-tab-content input {
  width: 100%;
  padding: 8px;
  margin-bottom: 12px;
  border-radius: 7px;
  border: 1px solid #e1e8ff;
  background: #f8faff;
  font-size: 1rem;
}

/* Password toggle container and button: keep the eye vertically centered inside the input */
.pw-container {
  position: relative;
  width: 100%;
  display: block;
}
.pw-container input {
  box-sizing: border-box; /* ensure padding counts into width */
  padding-right: 44px; /* space for toggle */
}
.pw-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  width: 28px;
  border-radius: 6px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: #143d77;
  font-size: 1.05rem;
}

/* Individual toggle styles - Add custom styling here as needed */
.pw-toggle-currentPassword {
  /* Current password toggle can be customized here */
    top: 35% !important;
}

.pw-toggle-newPassword {
  /* New password toggle can be customized here */
    top: 35% !important;
}

.pw-toggle-confirmNewPassword {
  /* Confirm new password toggle can be customized here */
    top: 13% !important;
}

.pw-toggle:focus {
  outline: 2px solid rgba(20,61,119,0.18);
  outline-offset: 2px;
}
.settings-action-btn {
  width: 100%;
  padding: 10px;
  background: #0A2C59;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 8px;
  transition: background 0.18s;
}


.swal2-container {
  z-index: 3000 !important;
}
.settings-action-btn:hover { background: #FED600; color: #0A2C59; }
/* Navbar */
  .navbar {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 7.9%;
    background: #0A2C59;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 30px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    z-index: 1000;
}

.navbar img {
  height: 4vh;
  border-radius: 50%;
}

.navbar .title {
    color: white;
    text-decoration: none;
  font-size: 1rem !important;
  font-weight: bold;
  margin-left: 10px;
}

.nav-btn{
  text-decoration: none;
  margin: 0 10px;
}

.navbar-center {
    display: flex;
    gap: 18px;
    justify-content: center;
    align-items: center;
    flex: 1;
}

.navbar-left {
  display: flex;
  align-items: center;
}

.bell {
    color: white;
    cursor: pointer;
    margin-top: 0;
    margin-right: 5px;
    font-size: 1rem;
    line-height: 1;
}

.prof {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    padding: 8px 12px;
    font-weight: bold;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}

.navbar-right {
  display: flex;
  gap: 8px;
  font-size: 20px;
}

.navbar-right a {
  text-decoration: none;
}

.nav-btn {
    color: #ffffff;
    padding: 7px 18px;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    font-size: 1rem;
    transition: background 0.2s, color 0.2s;
    border: none;
    outline: none;
}

.nav-btn:hover, .nav-btn.active {
    background: #1e4e9e;
    color: #fff;
}

.kk-btns{
  display: flex;
  justify-content: flex-end;
}

/* Hamburger Icon */
.navbar-hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  margin-right: 10px;
}

/* Notification badge on top of bell icon */
.notif {
  position: relative;
  display: inline-block;
}
.notif-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: #ff3b30;
  color: #fff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  display: none; /* shown when there are new items */
  align-items: center;
  justify-content: center;
  line-height: 18px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Responsive behavior */
@media (max-width: 1048px) {
    .navbar-center {
        display: none !important;
    }
    .navbar-hamburger {
        display: inline-block !important;
    }
}

@media (min-width: 1049px) {
    .navbar-center {
        display: flex !important;
    }
    .navbar-hamburger {
        display: none !important;
    }
}

/* Mobile navbar optimization */
@media (max-width: 768px) {
  
  .notif-badge {
    top: -4px;
    right: -4px;
    min-width: 16px;
    height: 16px;
    font-size: 10px;
    line-height: 16px;
  }
  .navbar {
    padding: 10px 15px;
  }
  
  .navbar img {
    height: 32px;
  }
  
  .navbar .title {
    font-size: 14px;
    margin-left: 8px;
  }
  
  .navbar-hamburger {
    font-size: 1.5rem;
    margin-right: 5px;
    display: flex;
    align-items: center;
  }
  
  .bell {
    font-size: 18px;
    margin-right: 3px;
    margin-top: 0;
    display: flex;
    align-items: center;
  }
  
  .navbar-right {
    gap: 0.01%;
    font-size: 18px;
    display: flex;
    align-items: center;
  }
  
  .navbar-right .prof {
    display: flex;
    align-items: center;
    margin-top: 0;
  }

  .settings-modal-content {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(10,44,89,0.12);
  padding: 28px 24px 18px 24px;
  min-width: 220px;
  max-width: 80vw;
  position: relative;
}
}

.navbar-mobile-menu {
  display: none;
  position: fixed;
  top: 60px;
  right: 16px;
  width: 220px;
  background: #fff;
  flex-direction: column;
  align-items: stretch;
  z-index: 2000;
  padding: 18px 12px;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(20,61,119,0.18);
  border: 1px solid #e3eaf3;
}

.navbar-mobile-menu.active {
  display: flex !important;
}

.navbar-mobile-menu .nav-btn {
  display: block;
  width: 100%;
  padding: 12px 0;
  font-size: 1rem;
  border-radius: 8px;
  color: #143d77;
  background: none;
  text-align: left;
  border: none;
  margin-bottom: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.18s, color 0.18s;
}

.navbar-mobile-menu .nav-btn:last-child {
  margin-bottom: 0;
}

.navbar-mobile-menu .nav-btn:hover {
  background: #eaf3fa;
  color: #1e4e9e;
}

/* Profile Container */
.profile-container {
  max-width: 450px;
  margin: 70px auto; /* center horizontally with spacing on top */
  background: #fff;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  text-align: center;
  position: relative;
}

.profile-container img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-top: -60px; /* pull image up */
  border: 4px solid #fff;
  object-fit: cover;
}

.profile-container h2 {
  margin: 10px 0 5px;
}

.profile-container p {
  margin: 2px 0;
  font-size: 14px;
  color: #555;
}

.profile-container p.verified i {
  color: green;
  margin-left: 5px;
}

.profile-container .field {
  text-align: left;
  margin: 15px 0;
}

.profile-container .field label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

.profile-container .field input {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  background: #eee;
  font-size: 14px;

}

.buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  gap: 10px;
}

.buttons button {
  flex: 1;
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  transition: 0.3s;
}

.verify-btn {
  background: #fff;
  color: #0A2C59;
  border: 1px solid #1d33a1 !important;
}

.verify-btn:hover {
  background: #0A2C59;
  color: #fff;
}

.logout-btn {
  background: #0A2C59;
  color: #fff;
}

.logout-btn:hover {
  background: #08214d;
}

/* Responsive */
@media(max-width: 480px) {
  .profile-container {
    margin: 30px; /* smaller margin on mobile */
    padding: 20px;
  }

  .buttons {
    flex-direction: column;
  }

  .profile-container img {
    width: 80px; /* shrink profile image on mobile */
    height: 80px;
    margin-top: -40px;
  }

  label{
    font-size: 0.8rem;
  }
  
}
/* Footer */
.footer {
  background: #0A2C59;
  color: #fff;
  padding: 40px 60px 20px;
  margin-top: 50px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 20px;
}

.footer-left h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.footer-left p {
  font-size: 15px;
  line-height: 1.5;
  color: #cfd9e8;
}

.footer-middle h4,
.footer-right h4 {
  font-size: 16px;
  margin-bottom: 10px;
}

.footer-middle ul,
.footer-right ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-middle ul li,
.footer-right ul li {
  margin-bottom: 8px;
}

.footer-middle ul li a,
.footer-right ul li a {
  text-decoration: none;
  color: #cfd9e8;
  font-size: 15px;
  transition: color 0.3s ease;
}

.footer-middle ul li a:hover,
.footer-right ul li a:hover {
  color: #ffffff;
}

.footer-right ul li i {
  margin-right: 8px;
  font-size: 15px;
}

.footer hr {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin: 20px 0;
}

.footer-bottom {
  text-align: center;
}

.footer-bottom p {
  font-size: 14px;
  color: #cfd9e8;
}

/* ✅ Responsive Footer */
@media (max-width: 992px) {
  .footer-container {
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .footer-left,
  .footer-middle,
  .footer-right {
    width: 100%;
  }

  .footer-right ul li,
  .footer-middle ul li {
    display: flex;
    justify-content: center;
  }

  /* Add space between content and footer on mobile */
  .footer {
    margin-top: 80px;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 30px 20px 15px;
  }

  .footer-left h3 {
    font-size: 18px;
  }

  .footer-left p {
    font-size: 14px;
  }

  .footer-middle h4,
  .footer-right h4 {
    font-size: 15px;
  }

  .footer-middle ul li a,
  .footer-right ul li a {
    font-size: 14px;
  }

  .footer-bottom p {
    font-size: 12px;
  }
}

.profile-container::before {
  content: "";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 60px; /* adjust to match navbar height */
  pointer-events: none;
  background: linear-gradient(to bottom, #eaf2fb 80%, transparent 100%);
  z-index: 900; /* below navbar (1000) but above page content */
}

/* Add at the end of userProfile.css */
.swal2-popup.otp-modal-popup {
  border-radius: 16px !important;
  background: #f7faff !important;
  box-shadow: 0 8px 32px rgba(7,176,242,0.09) !important;
}
.swal2-title {
  color: #0A2C59 !important;
  font-weight: 700 !important;
}
.swal2-confirm, .swal2-cancel {
  border-radius: 8px !important;
  font-weight: 600 !important;
}

.verification-strip {
  position: fixed;
  top: calc(1rem + 70px); /* 1rem navbar offset + navbar height */
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 900px;
  background: linear-gradient(135deg, #0A2C59 0%, #143d77 100%, #1e4e9e 50%);
  color: #fff;
  text-align: center;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(10, 44, 89, 0.20), 0 2px 8px rgba(10, 44, 89, 0.15);
  border: 1px solid rgba(255, 215, 0, 0.3);
  letter-spacing: 0.3px;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 1100;
  margin-top: 10px;
  margin-bottom: 10px;
  animation: slideDown 0.4s ease-out;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.verification-strip:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 8px 30px rgba(10, 44, 89, 0.25), 0 4px 12px rgba(10, 44, 89, 0.18);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.verification-strip a {
  color: #ffd700;
  text-decoration: none;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 215, 0, 0.15);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.verification-strip a:hover {
  color: #fff;
  background: rgba(255, 215, 0, 0.25);
  border-color: rgba(255, 215, 0, 0.5);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.verification-strip i {
  color: #ffd700;
  font-size: 20px;
  margin-right: 4px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

/* Mobile responsive verification strip */
@media (max-width: 600px) {
  .verification-strip {
    font-size: 14px;
    padding: 10px 15px;
    gap: 8px;
    width: 92%;
    max-width: 95vw;
    top: calc(1rem + 56px); /* adjust if navbar is shorter on mobile */
    border-radius: 10px;
  }
  
  .verification-strip i {
    font-size: 18px;
    margin-right: 3px;
  }
  
  .verification-strip a {
    font-size: 13px;
    padding: 3px 8px;
  }
}

.disabled {
  pointer-events: none; /* Prevent clicks */
  opacity: 0.5; /* Make the button look disabled */
  cursor: not-allowed; /* Change cursor to indicate disabled state */
}

.otp-input {
  width: 40px;
  font-size: 2rem;
  text-align: center;
  border-radius: 8px;
  border: 1px solid #0A2C59;
  background: #f7faff;
  box-shadow: 0 2px 8px rgba(7,176,242,0.07);
}
#emailOtpInputs {
  max-width: 280px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 1px !important;
}